﻿using System;
using System.Linq;
using System.Text;
using SqlSugar;

namespace DongFangGuoKai.WMSPlatform.Domain.Models
{
    ///<summary>
    ///客户
    ///</summary>
    [SugarTable("DBO.t_Customer")]
    public partial class t_Customer
    {
        public t_Customer()
        {


        }
        /// <summary>
        /// Desc:主键
        /// Default:
        /// Nullable:False
        /// </summary>           
        [SugarColumn(IsPrimaryKey = true, IsIdentity = true)]
        public int Id { get; set; }

        /// <summary>
        /// Desc:客户编码
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Code { get; set; }

        /// <summary>
        /// Desc:客户名称
        /// Default:
        /// Nullable:False
        /// </summary>           
        public string Name { get; set; }

        /// <summary>
        /// Desc:客户分类Id:对应字典项Id
        /// Default:
        /// Nullable:False
        /// </summary>           
        public int TypeId { get; set; }

        /// <summary>
        /// Desc:分类名称：对应字典项名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? TypeName { get; set; }

        /// <summary>
        /// Desc:客户地址
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? AddrDetail { get; set; }

        /// <summary>
        /// Desc:责任人
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ResponsiblePerson { get; set; }

        /// <summary>
        /// Desc:电话
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Tel { get; set; }

        /// <summary>
        /// Desc:手机号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? MobilePhone { get; set; }

        /// <summary>
        /// Desc:联系人1
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Contact { get; set; }

        /// <summary>
        /// Desc:联系人1手机
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ContactMobile { get; set; }

        /// <summary>
        /// Desc:邮箱
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Email { get; set; }

        /// <summary>
        /// Desc:合同号
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ContractNO { get; set; }

        /// <summary>
        /// Desc:备注
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? Remark { get; set; }

        /// <summary>
        /// Desc:排序号
        /// Default:1
        /// Nullable:False
        /// </summary>           
        public int DisplayOrder { get; set; }

        /// <summary>
        /// Desc:创建时间
        /// Default:DateTime.Now
        /// Nullable:False
        /// </summary>           
        public DateTime CreateDate { get; set; }

        /// <summary>
        /// Desc:创建用户Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? CreateUserId { get; set; }

        /// <summary>
        /// Desc:创建用户名
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? CreateUserName { get; set; }

        /// <summary>
        /// Desc:修改时间
        /// Default:
        /// Nullable:True
        /// </summary>           
        public DateTime? ModifyDate { get; set; }

        /// <summary>
        /// Desc:修改用户Id
        /// Default:
        /// Nullable:True
        /// </summary>           
        public int? ModifyUserId { get; set; }

        /// <summary>
        /// Desc:修改用户名称
        /// Default:
        /// Nullable:True
        /// </summary>           
        public string? ModifyUserName { get; set; }

    }
}
